package com.hnas.hnt.orm;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author hongjie
 * 科目字典表
 */
@Entity
@Table(name = "M_ACCT_SUBJECT_DIC")
public class SubJectDic implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -4205215431717146996L;

	@Id
	@Column(name = "SUB_ID", nullable = false)
	private String subId; // 科目号
    
	@Column(name = "SUB_NAME", nullable = false)
	private String subName;// 科目名称
	
	@Column(name = "SUB_TYPE", nullable = false)
	private String subType;
	
	@Column(name = "PARENT_SUB_ID")
	private String parentSubId;

	public String getSubId() {
		return subId;
	}

	public void setSubId(String subId) {
		this.subId = subId;
	}

	public String getSubName() {
		return subName;
	}

	public void setSubName(String subName) {
		this.subName = subName;
	}

	public String getSubType() {
		return subType;
	}

	public void setSubType(String subType) {
		this.subType = subType;
	}

	public String getParentSubId() {
		return parentSubId;
	}

	public void setParentSubId(String parentSubId) {
		this.parentSubId = parentSubId;
	}

	
}
